package com.guigu.limeng.service;

import com.guigu.limeng.pojo.Mdesignprocedure;
import com.guigu.liuzhireng.pojo.PageVo;

import java.util.List;

public interface MdesignprocedureService {

    Mdesignprocedure MdesignprocedureWZY_cha(String id);
    Mdesignprocedure MdesignprocedureWZY_SH_cha(Integer id);
    // limeng
    //添加
    Mdesignprocedure AddMdesignprocedure(Mdesignprocedure mdesignprocedure);
    //显示
    PageVo<Mdesignprocedure> showMdeure(int num, int size);
    //把审核标志改为审核通过
    int upBySHBZ(Mdesignprocedure mdesignprocedure);
    //查询
    PageVo<Mdesignprocedure> PageChaXun(int num, int size);
    //变更
    PageVo<Mdesignprocedure> PageBianGeng(int num, int size);
    //（物料）根据审核标志已通过,工序物料设计未设计查询
    PageVo<Mdesignprocedure> findWuLiao(int num,int size);
    //提交后把产品生产工序表中的工序物料设计标志改为已提交
    int updaByWuLiao(String productid);

    int limengUpdate(Mdesignprocedure mdesignprocedure);
    PageVo<Mdesignprocedure> LiMengMdesignprocedureSH(int num,int size);
    int limeng_UpDate_Mdesignprocedure(Mdesignprocedure mdesignprocedure);
    PageVo<Mdesignprocedure> LiMengUpDateMdesignprocedureCha(int num,int size);
}
